﻿Imports System
Imports System.Reflection
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, Guid("2E7C367B-F2F9-4FC2-81EE-58C3BCB21EBB"), TypeLibType(CShort(&H10C0)), DefaultMember("GetProperty")> _
    Public Interface IGoogleDesktopQueryResultItem
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(0)> _
        Function GetProperty(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal prop_name As String) As <MarshalAs(UnmanagedType.Struct)> Object

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H41A)> _
        Sub RemoveFromIndex(<[In]()> ByVal remove_all_related_versions As Boolean)

        <DispId(&H3F0)> _
        ReadOnly Property schema As <MarshalAs(UnmanagedType.BStr)> String
           
        <DispId(&H40F)> _
        ReadOnly Property versions As <MarshalAs(UnmanagedType.Interface)> IGoogleDesktopDocumentVersions
           
    End Interface
End Namespace

